cmake_minimum_required(VERSION 3.10)
project(jsontmp)

set(CMAKE_CXX_STANDARD 11)

find_package(PkgConfig REQUIRED)
pkg_check_modules(JSONCPP jsoncpp)
include_directories(${JSONCPP_LIBRARIES})



add_executable(mytest src/read_json.cpp)
target_link_libraries(mytest ${JSONCPP_LIBRARIES})

